package com.itheima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.common.mededia.pojo.WmNewsMaterial;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {
    void saveRlations(@Param("wmMaterialIds") List<Integer> wmMaterialIds,
                      @Param("newsId") Integer newsId,
                      @Param("type") Short type);
}
